GtkMenuButton: use popovers by default
authorMatthias Clasen <mclasen@redhat.com>
Fri, 25 Apr 2014 03:35:18 +0000 (23:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 25 Apr 2014 03:35:18 +0000 (23:35 -0400)
When constructing from a menu model, use popovers by default.
This change has the potential to cause some size problems for
applications with big gear menus, so we're doing it early in
the cycle to uncover and fix those.

gtk/gtkmenubutton.c

index dd966a45235c9b05e6a6db4ffe655068a32748a2..cc2654da397f6503a202de6840de35bbc0f319bb 100644 (file)
@@ -568,7 +568,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
                                    g_param_spec_boolean ("use-popover",
                                                          P_("Use a popover"),
                                                          P_("Use a popover instead of a menu"),
-                                                         FALSE,
+                                                         TRUE,
                                                          G_PARAM_READWRITE));
 
   /**